int needAck;
int currWnd;
int winBase;
typedef struct Packet {	//FDT structure
  int type;
  int sequenceNumber;
  char value[MAX_PKT_SIZE];
} GBN_packet;

GBN_packet *window;

void timeOut(int pkt){
  //need timer
}

void resetTimer(void){
  // interrupt the timer and reset it
}

void initGBN(void){
  window = calloc(CWND, sizeof(GBN_packet));
  winBase = 0;
  needAcked = -1;
  currWnd = 0;
}

void sendGuess(char *guess){
 
}

void heartBeat(void){
  
}
